/**
 * 
 */
package com.lanswon.qzsmk.base;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author sun
 *
 */
@Component
public class ErrorInfoContants {

	/** 不合法的中文姓名 */
	public static String error_customerName;

	/** 不合法的英文姓名 */
	public static String error_ename;

	/** 不合法的证件号码 */
	public static String error_paperNo;

	/** 不合法的手机号 */
	public static String error_mobile;

	/** 不合法的邮箱 */
	public static String error_email;

	/** 不合法空数据 */
	public static String error_empty_info;

	/** 重复性数据 */
	public static String error_duplication_data;
	
	/** 系统已存在个人信息 */
	public static String error_duplication_data_personal;
	
	/** 重复卡产品 */
	public static String error_duplication_cardpCard;
	
	/** 身份证号码与出生日期不匹配 */
	public static String error_paperNo_birthday;
	
	
	@Value("#{errorInfoConfig['error.paperNo.birthday']}")
	public void setError_paperNo_birthday(String error_paperNo_birthday) {
		ErrorInfoContants.error_paperNo_birthday = error_paperNo_birthday;
	}

	@Value("#{errorInfoConfig['error.customerName']}")
	public void setError_customerName(String error_customerName) {
		ErrorInfoContants.error_customerName = error_customerName;
	}

	@Value("#{errorInfoConfig['error.ename']}")
	public void setError_ename(String error_ename) {
		ErrorInfoContants.error_ename = error_ename;
	}

	@Value("#{errorInfoConfig['error.paperNo']}")
	public void setError_paperNo(String error_paperNo) {
		ErrorInfoContants.error_paperNo = error_paperNo;
	}

	@Value("#{errorInfoConfig['error.mobile']}")
	public void setError_mobile(String error_mobile) {
		ErrorInfoContants.error_mobile = error_mobile;
	}

	@Value("#{errorInfoConfig['error.email']}")
	public void setError_email(String error_email) {
		ErrorInfoContants.error_email = error_email;
	}

	@Value("#{errorInfoConfig['error.empty_info']}")
	public void setError_empty_info(String error_empty_info) {
		ErrorInfoContants.error_empty_info = error_empty_info;
	}

	@Value("#{errorInfoConfig['error.duplication_data']}")
	public void setError_duplication_data(String error_duplication_data) {
		ErrorInfoContants.error_duplication_data = error_duplication_data;
	}
	
	
	@Value("#{errorInfoConfig['error.duplication_data_personal']}")
	public void setError_duplication_data_personal(String error_duplication_data_personal) {
		ErrorInfoContants.error_duplication_data_personal = error_duplication_data_personal;
	}

	@Value("#{errorInfoConfig['error.duplication_cardpCard']}")
	public void setError_duplication_cardpCard(String error_duplication_cardpCard) {
		ErrorInfoContants.error_duplication_cardpCard = error_duplication_cardpCard;
	}
	
	public static void main(String[] args) {
		System.out.println(PathContants.FTP_CATALOG);
		System.out.println(ErrorInfoContants.error_customerName);
	}
}
